package demo.controller;

import java.util.List;
import java.util.Map;
import java.util.Set;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import demo.bo.StudentMax;
import demo.bo.Teacher;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
@Api
@Controller
@RequestMapping("/classPath")
public class SprintMVCController {

	@RequestMapping("/notice")
	@ApiOperation("getNotice")
	public void getNotice(@RequestParam(value="userId")Long userId,@ApiParam Map<String,String> param,
			Set<String> orgs,HttpServletRequest request,HttpServletResponse response)
	{
		
	}
	
	@ApiOperation("getPageList")
	@RequestMapping("/page/{num}")
	@ResponseBody
	public List<StudentMax> getPageList(@PathVariable("num")int num,String orgCode)
	{
		return null;
	}
	
	@ApiOperation("operateSave")
	@RequestMapping("/save")
	public Object operateSave(@RequestBody Teacher teacher)
	{
		return null;
	}

}
